/* 分类侧边栏样式 */
.category-sidebar {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    position: relative;
    border-bottom: 1px solid #f5f5f5;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item > a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-size: 14px;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-item > a:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.category-item > a i {
    margin-right: 8px;
    color: #666;
}

.subcategory-panel {
    position: absolute;
    top: 0;
    left: 100%;
    width: 700px;
    min-height: 100%;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 4px 4px 0;
    padding: 20px;
    z-index: 1000;
    display: none;
}

.category-item:hover .subcategory-panel {
    display: block;
}

.panel-content {
    display: flex;
    flex-wrap: wrap;
}

.subcategory-block {
    width: 33.333%;
    padding: 0 15px 15px 0;
}

.subcategory-title {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 5px;
}

.subcategory-title a {
    color: #333;
}

.subcategory-title a:hover {
    color: #007bff;
}

.product-type-grid {
    display: flex;
    flex-wrap: wrap;
}

.product-type-item {
    margin-right: 10px;
    margin-bottom: 5px;
    font-size: 12px;
    color: #666;
}

.product-type-item:hover {
    color: #007bff;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .category-sidebar {
        display: none;
    }
} 